import Vue from 'vue'
import guide from './guide.vue'

const homeBox = Vue.extend(guide)

guide.start = function (data) {
  // eslint-disable-next-line new-cap
  let instance = new homeBox({data}).$mount()

  document.body.appendChild(instance.$el)

  instance.flag = true

  return instance
}

export default guide
